package com.hy.controller.login;

import com.hy.common.base.RespResult;
import com.hy.common.base.RespResultCode;
import com.hy.common.log.annotation.SysOpLogAnnotation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ErrorController {

    @RequestMapping("/error/403")
    public RespResult noPermission(){
        return RespResult.getInstance(RespResultCode.NO_PERMISSION);
    }
}
